﻿package Common 
{
	import flash.filters.ColorMatrixFilter;
		
	/**
	 * ...
	 * @author fox (Tools -> Custom Arguments...)
	 */
	public class GameFilters 
	{
		public static var gridFilter:Array = [new ColorMatrixFilter([1.3, 0, 0, 0, 0, 0, 1.3, 0, 0, 0, 0, 0, 1.3, 0, 0, 0, 0, 0, 1, 0])];
		public static var colorFilter:ColorMatrixFilter = null;
		
		public static function init():void
		{
			var matrix:Array = new Array();
			matrix = matrix.concat([1, 0, 0, 0, 0]); // red
			matrix = matrix.concat([0, 0, 0, 0, 0]); // green
			matrix = matrix.concat([0, 0, 0, 0, 0]); // blue
			matrix = matrix.concat([0, 0, 0, 1, 0]); // alpha
			
			colorFilter = new ColorMatrixFilter( matrix );
		}
		
		public function GameFilters() 
		{
			
			
		}
		
	}
	
}